<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+"/"+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>新的项目</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">

<!-- No Baidu Siteapp-->
<meta http-equiv="Cache-Control" content="no-siteapp"/>
<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes">
<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="msapplication-TileColor" content="#0e90d2">

<link rel="stylesheet" href="/wx/amazeui/assets/css/amazeui.min.css">
<link rel="stylesheet" href="/wx/amazeui/assets/css/app.css">
<link rel="stylesheet" type="text/css" href="/wx/css/jquery.datetimepicker.css" />

<script src='/wx/js/jquery/jquery-1.9.1.min.js'></script>
<script src="/wx/js/jquery/jquery.datetimepicker.js"></script>
<script src='/wx/js/task/project_new.js'></script>
</head>
<body>
	<div data-am-widget="titlebar" class="am-titlebar am-titlebar-default">
		<h2 class="am-titlebar-title" id="title">新建项目</h2>
	</div>
	<form method="post" action="wx/task/new/3/${user.userId}" id="form" class="am-form">
		
		<fieldset title="Step 1" id="project_1">
			
			<div class="am-form-group">
			    <label class="doc-vld-name" for="doc-ipt-success">开始时间</label>
			    <input type="text" name="start" id="start" class="am-form-field" onfocus=this.blur() required>
			</div>
			<div class="am-form-group">
			    <label class="am-form-label" for="doc-ipt-success">结束时间</label>
			    <input type="text" name="end" id="end" class="am-form-field" onfocus=this.blur()  required>
			</div>
			<div class="am-form-group">
			    <label class="am-form-label" for="doc-ipt-success">计划</label>
			    <textarea rows="6" cols="30" name="content"  id="content"  class="am-form-field" required></textarea>
			</div>
			<div class="am-form-group">
			    <button type="button" class="am-btn am-btn-success am-btn-block" data-step=2>下一步</button>
			</div>
		</fieldset>

		<fieldset title="Step 2" id="project_2">
			<!-- inputs -->
			<div class="am-form-group">
			    <button type="button" class="am-btn am-btn-warning am-btn-block" data-step=1>上一步</button>
			    <button type="button" class="am-btn am-btn-success am-btn-block" data-step=3>下一步</button>
			</div>
		</fieldset>
		<fieldset title="Step 2" id="project_3">
			<!-- inputs -->
			<div class="am-form-group">
				<button type="button" class="am-btn am-btn-warning am-btn-block" data-step=2>上一步</button>
			    <button type="submit" class="am-btn am-btn-secondary am-btn-block">提交</button>
			</div>
		</fieldset>
	</form>

</body>
</html>